// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WIP_MTRL_CUR
// * CreateDate    : 2014-06-05 18:30:22
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:22
// * LastChanger   : 2014-06-05 18:30:22
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdWipMtrlCurTable : TableInfo
    {
		public const string C_TableName = "PROD_WIP_MTRL_CUR";
		
		public const string C_Id = "Id";
		public const string C_Wo_No = "Wo_No";
		public const string C_Prod_Code = "Prod_Code";
		public const string C_Prod_Name = "Prod_Name";
		public const string C_Mtrl_SN = "Mtrl_SN";
		public const string C_Mtrl_Code = "Mtrl_Code";
		public const string C_Mtrl_Name = "Mtrl_Name";
		public const string C_Mtrl_Location_No = "Mtrl_Location_No";
		public const string C_Mtrl_Location_Name = "Mtrl_Location_Name";
		public const string C_Cur_WorkGroup_No = "Cur_WorkGroup_No";
		public const string C_Cur_Asset_Code = "Cur_Asset_Code";
		public const string C_Cur_Asset_Name = "Cur_Asset_Name";
		public const string C_Lots_No = "Lots_No";
		public const string C_Mtrl_Status = "Mtrl_Status";
		public const string C_Mtrl_Qty = "Mtrl_Qty";
		public const string C_Cur_Proc_No = "Cur_Proc_No";
		public const string C_Cur_Proc_Name = "Cur_Proc_Name";
		public const string C_Unit = "Unit";
		public const string C_Related_No = "Related_No";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		
		public ProdWipMtrlCurTable()
        {
            _tableName = "PROD_WIP_MTRL_CUR";
        }
		
		protected static ProdWipMtrlCurTable _current;
        public static ProdWipMtrlCurTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdWipMtrlCurTable();

            _current.Add(C_Id, new ColumnInfo(C_Id,"Id", true, typeof(string)));
            _current.Add(C_Wo_No, new ColumnInfo(C_Wo_No,"WoNo", false, typeof(string)));
            _current.Add(C_Prod_Code, new ColumnInfo(C_Prod_Code,"ProdCode", false, typeof(string)));
            _current.Add(C_Prod_Name, new ColumnInfo(C_Prod_Name,"ProdName", false, typeof(string)));
            _current.Add(C_Mtrl_SN, new ColumnInfo(C_Mtrl_SN,"MtrlSn", false, typeof(string)));
            _current.Add(C_Mtrl_Code, new ColumnInfo(C_Mtrl_Code,"MtrlCode", false, typeof(string)));
            _current.Add(C_Mtrl_Name, new ColumnInfo(C_Mtrl_Name,"MtrlName", false, typeof(string)));
            _current.Add(C_Mtrl_Location_No, new ColumnInfo(C_Mtrl_Location_No,"MtrlLocationNo", false, typeof(string)));
            _current.Add(C_Mtrl_Location_Name, new ColumnInfo(C_Mtrl_Location_Name,"MtrlLocationName", false, typeof(string)));
            _current.Add(C_Cur_WorkGroup_No, new ColumnInfo(C_Cur_WorkGroup_No,"CurWorkgroupNo", false, typeof(string)));
            _current.Add(C_Cur_Asset_Code, new ColumnInfo(C_Cur_Asset_Code,"CurAssetCode", false, typeof(string)));
            _current.Add(C_Cur_Asset_Name, new ColumnInfo(C_Cur_Asset_Name,"CurAssetName", false, typeof(string)));
            _current.Add(C_Lots_No, new ColumnInfo(C_Lots_No,"LotsNo", false, typeof(string)));
            _current.Add(C_Mtrl_Status, new ColumnInfo(C_Mtrl_Status,"MtrlStatus", false, typeof(string)));
            _current.Add(C_Mtrl_Qty, new ColumnInfo(C_Mtrl_Qty,"MtrlQty", false, typeof(decimal)));
            _current.Add(C_Cur_Proc_No, new ColumnInfo(C_Cur_Proc_No,"CurProcNo", false, typeof(string)));
            _current.Add(C_Cur_Proc_Name, new ColumnInfo(C_Cur_Proc_Name,"CurProcName", false, typeof(string)));
            _current.Add(C_Unit, new ColumnInfo(C_Unit,"Unit", false, typeof(string)));
            _current.Add(C_Related_No, new ColumnInfo(C_Related_No,"RelatedNo", false, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo Id
        {
            get { return this[C_Id]; }
        }
		
		public ColumnInfo Wo_No
        {
            get { return this[C_Wo_No]; }
        }
		
		public ColumnInfo Prod_Code
        {
            get { return this[C_Prod_Code]; }
        }
		
		public ColumnInfo Prod_Name
        {
            get { return this[C_Prod_Name]; }
        }
		
		public ColumnInfo Mtrl_SN
        {
            get { return this[C_Mtrl_SN]; }
        }
		
		public ColumnInfo Mtrl_Code
        {
            get { return this[C_Mtrl_Code]; }
        }
		
		public ColumnInfo Mtrl_Name
        {
            get { return this[C_Mtrl_Name]; }
        }
		
		public ColumnInfo Mtrl_Location_No
        {
            get { return this[C_Mtrl_Location_No]; }
        }
		
		public ColumnInfo Mtrl_Location_Name
        {
            get { return this[C_Mtrl_Location_Name]; }
        }
		
		public ColumnInfo Cur_WorkGroup_No
        {
            get { return this[C_Cur_WorkGroup_No]; }
        }
		
		public ColumnInfo Cur_Asset_Code
        {
            get { return this[C_Cur_Asset_Code]; }
        }
		
		public ColumnInfo Cur_Asset_Name
        {
            get { return this[C_Cur_Asset_Name]; }
        }
		
		public ColumnInfo Lots_No
        {
            get { return this[C_Lots_No]; }
        }
		
		public ColumnInfo Mtrl_Status
        {
            get { return this[C_Mtrl_Status]; }
        }
		
		public ColumnInfo Mtrl_Qty
        {
            get { return this[C_Mtrl_Qty]; }
        }
		
		public ColumnInfo Cur_Proc_No
        {
            get { return this[C_Cur_Proc_No]; }
        }
		
		public ColumnInfo Cur_Proc_Name
        {
            get { return this[C_Cur_Proc_Name]; }
        }
		
		public ColumnInfo Unit
        {
            get { return this[C_Unit]; }
        }
		
		public ColumnInfo Related_No
        {
            get { return this[C_Related_No]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		
		
	}
}

